class Nstr(str):
    def __init__(self, arg=''):
        if isinstance(arg, str):
            self.count = 0
            for each in arg:
                self.count = self.count + ord(each)

    def __add__(self, other):
        return self.count + other.count
    def __sub__(self, other):       
        return self.count - other.count
    def __mul__(self, other):
        return self.count * other.count
    def __truediv__(self, other):
        return self.count / other.count
    def __floordiv__(self, other):
        return self.count // other.count

a = Nstr('FishC')
b = Nstr('love')
print(a + b)
print(a - b)
print(a * b)
print(a / b)
print(a // b)

##class Nstr(int):
##    def __new__(cls, arg=0):
##        if isinstance(arg, str):
##            total = 0
##            for each in arg:
##                total += ord(each)
##            arg = total
##        return int.__new__(cls, arg)
